package vip.xiaonuo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import vip.xiaonuo.dto.UserInfo;
import vip.xiaonuo.entity.DelegationState;

import java.util.Date;


@Data
@ApiModel("待办")
public class TaskVO {
    @ApiModelProperty("任务id")
    private String taskId;
    @ApiModelProperty("任务id")
    private String processInstanceId;
    @ApiModelProperty("审批类型")
    private String processDefinitionName;
    @ApiModelProperty("发起人")
    private UserInfo startUser;
    @ApiModelProperty("提交时间")
    private Date startTime;
    @ApiModelProperty("任务到达时间")
    private Date taskCreatedTime;
    @ApiModelProperty("当前节点")
    private String currentActivityName;
    @ApiModelProperty("审批状态")
    private String businessStatus;
    @ApiModelProperty("结束时间")
    private Date endTime;
    @ApiModelProperty("耗时")
    private String duration;
    @ApiModelProperty("委派状态")
    private DelegationState delegationState;
}
